home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
graphics
/
3dvect30.arj
/
SQUARES.INC
< prev
next >
Wrap
Text File
|
1993-11-18
|
3KB
|
39 lines
; x squared tables: 256 word entries return ax exponent 2.
; in square functions, low byte is only factor!
; mov si,ax ; ax must be less then 256! (eg 257*257>65535)
; mov ax,[squares+si]
squares dw 00000h,00001h,00004h,00009h,00010h,00019h,00024h,00031h ; 0
dw 00040h,00051h,00064h,00079h,00090h,000A9h,000C4h,000E1h ; 8
dw 00100h,00121h,00144h,00169h,00190h,001B9h,001E4h,00211h ; 16
dw 00240h,00271h,002A4h,002D9h,00310h,00349h,00384h,003C1h ; 24
dw 00400h,00441h,00484h,004C9h,00510h,00559h,005A4h,005F1h ; 32
dw 00640h,00691h,006E4h,00739h,00790h,007E9h,00844h,008A1h ; 40
dw 00900h,00961h,009C4h,00A29h,00A90h,00AF9h,00B64h,00BD1h ; 48
dw 00C40h,00CB1h,00D24h,00D99h,00E10h,00E89h,00F04h,00F81h ; 56
dw 01000h,01081h,01104h,01189h,01210h,01299h,01324h,013B1h ; 64
dw 01440h,014D1h,01564h,015F9h,01690h,01729h,017C4h,01861h ; 72
dw 01900h,019A1h,01A44h,01AE9h,01B90h,01C39h,01CE4h,01D91h ; 80
dw 01E40h,01EF1h,01FA4h,02059h,02110h,021C9h,02284h,02341h ; 88
dw 02400h,024C1h,02584h,02649h,02710h,027D9h,028A4h,02971h ; 96
dw 02A40h,02B11h,02BE4h,02CB9h,02D90h,02E69h,02F44h,03021h ; 104
dw 03100h,031E1h,032C4h,033A9h,03490h,03579h,03664h,03751h ; 112
dw 03840h,03931h,03A24h,03B19h,03C10h,03D09h,03E04h,03F01h ; 120
dw 04000h,04101h,04204h,04309h,04410h,04519h,04624h,04731h ; 128
dw 04840h,04951h,04A64h,04B79h,04C90h,04DA9h,04EC4h,04FE1h ; 136
dw 05100h,05221h,05344h,05469h,05590h,056B9h,057E4h,05911h ; 144
dw 05A40h,05B71h,05CA4h,05DD9h,05F10h,06049h,06184h,062C1h ; 152
dw 06400h,06541h,06684h,067C9h,06910h,06A59h,06BA4h,06CF1h ; 160
dw 06E40h,06F91h,070E4h,07239h,07390h,074E9h,07644h,077A1h ; 168
dw 07900h,07A61h,07BC4h,07D29h,07E90h,07FF9h,08164h,082D1h ; 176
dw 08440h,085B1h,08724h,08899h,08A10h,08B89h,08D04h,08E81h ; 184
dw 09000h,09181h,09304h,09489h,09610h,09799h,09924h,09AB1h ; 192
dw 09C40h,09DD1h,09F64h,0A0F9h,0A290h,0A429h,0A5C4h,0A761h ; 200
dw 0A900h,0AAA1h,0AC44h,0ADE9h,0AF90h,0B139h,0B2E4h,0B491h ; 208
dw 0B640h,0B7F1h,0B9A4h,0BB59h,0BD10h,0BEC9h,0C084h,0C241h ; 216
dw 0C400h,0C5C1h,0C784h,0C949h,0CB10h,0CCD9h,0CEA4h,0D071h ; 224
dw 0D240h,0D411h,0D5E4h,0D7B9h,0D990h,0DB69h,0DD44h,0DF21h ; 232
dw 0E100h,0E2E1h,0E4C4h,0E6A9h,0E890h,0EA79h,0EC64h,0EE51h ; 240
dw 0F040h,0F231h,0F424h,0F619h,0F810h,0FA09h,0FC04h,0FE01h ; 248